import request from '@/utils/request'

/**
 * 创建消纳场
 * @param data
 * @returns {*}
 */
export function disposalSiteCreate(data) {
    return request({
        url: '/api/console/disposalSite/create',
        method: 'post',
        data: data
    })
}

/**
 * 创建消纳场现场照片
 * @param data
 * @returns {*}
 */
export function disposalSiteAddPhoto(data) {
    return request({
        url: '/api/console/disposalSite/addPhoto',
        method: 'post',
        data: data
    })
}

/**
 * 查询消纳场现场照片
 * @param data
 * @returns {*}
 */
export function disposalSiteQueryPhotoSet(data) {
    return request({
        url: '/api/console/disposalSite/queryPhotoSet',
        method: 'post',
        data: data
    })
}

/**
 * 查询消纳场列表信息
 * @param data
 * @returns {*}
 */
export function disposalSiteQueryList(data) {
    return request({
        url: '/api/console/disposalSite/queryList',
        method: 'post',
        data: data
    })
}

/**
 * 查询消纳场详情
 * @param data
 * @returns {*}
 */
export function disposalSiteQueryDetail(data) {
    return request({
        url: '/api/console/disposalSite/queryDetail',
        method: 'post',
        data: data
    })
}

/**
 * 消纳场删除
 * @param data
 * @returns {*}
 */
export function disposalSiteDelete(data) {
    return request({
        url: '/api/console/disposalSite/delete',
        method: 'post',
        data: data
    })
}

/**
 * 图片删除
 * @param data
 * @returns {*}
 */
export function disposalSiteRemoveSitePhoto(data) {
    return request({
        url: '/api/console/disposalSite/removeSitePhoto',
        method: 'post',
        data: data
    })
}

/**
 * 消纳场更新
 * @param data
 * @returns {*}
 */
export function disposalSiteUpdate(data) {
    return request({
        url: '/api/console/disposalSite/update',
        method: 'post',
        data: data
    })
}

/**
 * 查询所有消纳场地图点位信息
 * @param data
 * @returns {*}
 */
export function disposalSiteQueryAllMapMarkSet(data) {
    return request({
        url: '/api/console/disposalSite/queryAllMapMarkSet',
        method: 'post',
        data: data
    })
}
